<%--
 *
 *  Created by IntelliJ IDEA.
 *  User: Bestick
 *  Date: 2016/7/9
 *  Time: 5:00
 *  Url: http://www.bestick.cn
 *  Copyright © 2015-2016 Bestick All rights reserved
 *  -----------------------------------------------------------
 *  会当凌绝顶，一览众山小。
 *
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <%-- IF IE --%>
    <jsp:include page="${pageContext.request.contextPath}/WEB-INF/jsp/if_ie.jsp" />

    <!-- CharSet -->
    <meta charset="utf-8">

    <!-- Title -->
    <title>登录</title>

    <!-- Mobile Meta -->
    <meta name="viewport" content="width=device-width,initial-scale=1">

    <!-- Author -->
    <meta name="author" content="www.bestick.cn">

    <!-- render mode -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

    <!-- Favicon -->
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/resources/app/images/logo/favicon.ico">

    <!-- Bootstrap core CSS -->
    <link href="${pageContext.request.contextPath}/resources/libs/css/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- WeightRecord Auth CSS file -->
    <link href="${pageContext.request.contextPath}/resources/app/css/home/wr.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/resources/app/css/home/auth.css" rel="stylesheet">
</head>
<body class="overflow-y-scroll">
<div id="wr-loading-box" class="hidden wr-loading-box">
    <span class="loading"></span>
</div>
<div id="wr-banner"></div>
<div class="bg-container">
    <div class="auth-container">
        <a href="/index.html" class="auth-logo"></a>

        <h2 class="auth-title text-center">登录</h2>
        <div>
            <!-- form -->
            <form onsubmit="return false;">
                <!-- username -->
                <div class="form-group">
                    <label for="login-username">账户名</label>
                    <a href="javascript:void(0)" class="pull-right text-small">忘记账户名？</a>
                    <input type="text" id="login-username" class="form-control"/>

                    <p class="text-danger">请输入账户名</p>
                </div>

                <!-- password -->
                <div class="form-group">
                    <label for="login-password">密码</label>
                    <a href="javascript:void(0)" class="pull-right text-small">忘记密码？</a>
                    <input type="password" id="login-password" class="form-control"/>

                    <p class="text-danger">请输入密码</p>
                </div>

                <!-- remember me -->
                <div class="form-group">
                    <div class="text-small jcb-auth-checkbox">
                        <input type="checkbox" name="remember-login" id="remember-login"/>
                        <span>记住我的密码</span>
                    </div>
                </div>
                <input id="login" type="submit" value="登录WeightRecord" class="btn btn-primary btn-block"/>
            </form>
            <div class="text-center info-text">
                没有WeightRecord账户？
                <a href="/signup.html">注册</a>
            </div>
            <div class="text-center">
                <a href="/index.html">返回首页</a>
            </div>
        </div>
    </div>
</div>

<!-- JavaScript files placed at the end of the document so the pages load faster
==================================================================================== -->
<!-- lib and core js files -->
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/sha1.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/jquery.cookie.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/libs/js/layer/layer.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/app/js/home/auth.js"></script>

<script>
    if ('${msg }' != '') {
        showErrorInfo('${msg }');
    }
</script>
</body>
</html>
